<br/>
 <article id="container">
        <section id="top_regis" class="wrapper">
            <div class="top_tep1 clearfix">
                  <div class="info_regis">
                    <h2 class="tt_regis1">Đăng kí gia sư</h2>
                    <p class="name">Xin chào: <?php if($this->session->userdata('id')){$user=$this->common_model->getone('users',array('id'=>$this->session->userdata('id'))); echo $user->name;}?></p>
                    <p class="user_regis">Tên đăng nhập của bạn : <b><?php echo $user->email;?></b></p>
                    </div>
                    <!---- /.info_regis ----->
                    <div class="step_info">
                    <p class="info_step">Chọn môn học | <span>1 của 4 bước hoàn thành</span></p>
                    <p class="percent_step"><span style="width:25%">percent</span></p>
                  </div>
                  <!-- /.step -->
            </div>
            <?php $this->load->view('mod_account/views_step.php'); ?>
        </section>
        <!-- /#top_regis -->
        <div class="wrapper"><?php if(!empty($thongbao)){echo '<span style="font-size:14px;color:red"><i class="icon-remove-sign"> </i>'.$thongbao.'</span>';}?></div>
        <section id="select_subjects" class="clearfix wrapper">
            <form action="<?php echo base_url();?>dang-ky/buoc1" method="post">
            <ul id="list_subjects" class="clearfix">
            <?php if(!empty($mon)){
                foreach($mon as $mon){
                     echo '<li class="list_subjects"><span class="parent">'.$mon->title.'</span>';
                        if(!empty($m[$mon->id])){
                            echo '<ul class="clearfix main-toggle hidden" >';
                            foreach ($m[$mon->id] as $con){
                                ?> <li><input type="checkbox" value="<?php echo $con->id; ?>" name="mon[]" /><span><?php echo $con->title ?></span></li><?php
                            }
                            echo '</ul>';
                        }
                     echo '</li>';
                }
            }?>
            </ul>
                <input type="submit" class="bt-ok" value="Lưu và tiếp tục" />
            </form>
        </section>
        <!-- /#select_subjects -->
        <!-- Script Toogle Subjects -->
        <script>
          $(document).ready(function() {
            $('.list_subjects .parent').click(function(){
              /* Act on the event */
              $(this).parent().find('ul').slideToggle(400);
              var plus = $(this).attr('class');
              if(plus == 'parent plus')
              {
                $(this).removeClass('plus');
              }
              else
              {
                $(this).addClass('plus');
              }
            });
          });
        </script>
        <!-- End Script Toogle Subjects -->
  </article>